/*
 * Copyright 2008 Nordic Consulting & Development Company
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package pl.ncdc.web.login.client;

import java.io.Serializable;

/**
 * User data bean. This object acts as DTO transfered by appropriate
 * GWT RPC service.
 * <p>
 * Created on Apr 15, 2008
 *
 * @author hshsce
 * @version $Id: User.java 174 2009-01-29 23:25:07Z hshsce $
 * @see pl.ncdc.web.login.client.service.UserService
 */
public class User implements Serializable {

	private static final long serialVersionUID = -3202687332077570322L;

	private String m_uid;

	private String m_fullName;

	/**
	 * Sets user id.
	 *
	 * @param uid the user id.
	 */
	public void setUid(final String uid) {
		m_uid = uid;
	}

	/**
	 * Sets user's full name.
	 *
	 * @param fullName the full name.
	 */
	public void setFullName(final String fullName) {
		m_fullName = fullName;
	}

	/**
	 * Returns user id.
	 *
	 * @return the <code>uid</code>.
	 */
	public String getUid() {
		return m_uid;
	}

	/**
	 * Returns user's full name.
	 *
	 * @return the full name.
	 */
	public String getFullName() {
		return m_fullName;
	}

}
